package com.demo2do.fms.entity.supplier.trans;

import com.demo2do.core.utils.Alias;

/**
 * 运输的服务供方  车辆信息 牵引车产权
 * 
 * Created by zhonghui on 2017/7/13.
 */
@Alias("PropertyType")
public enum PropertyType {

    PROPERTY_TYPE_ZERO("0","自有"),

    PROPERTY_TYPE_TWO("1","控股"),

    PROPERTY_TYPE_THREE("2","未转籍"),

    PROPERTY_TYPE_FOUR("3","租赁"),

    PROPERTY_TYPE_FIVE("4","个人挂靠"),

    PROPERTY_TYPE_SIX("5","公司挂靠");

    private String code;
    
    private String description;

    /**
     * @param code
     * @param description
     */
    private PropertyType(String code,String description) {
        this.code=code;
        this.description = description;
    }

    /**
     * 
     * @return
     */
    public String getCode() {
        return code;
    }
    /**
     * Gets description.
     *
     * @return the description
     */
    public String getDescription() {
        return description;
    }

    /**
     * Sets description.
     *
     * @param description the description
     */
    public void setDescription(String description) {
        this.description = description;
    }
}